package com.zmn.oms.zmn.business.interfaces.captcha;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.oms.common.dio.normal.captcha.GetVerificationCodeDIO;
import com.zmn.oms.common.dio.normal.captcha.ValidateVerificationCodeDIO;
import com.zmn.oms.common.exception.OmsBaseException;

public interface OrderWorkCaptchaBService {
     void sendVerificationCodeToUser(GetVerificationCodeDIO getVerificationCodeDIO) throws OmsBaseException;
     void validateVerificationCode(ValidateVerificationCodeDIO validateVerificationCodeDIO) throws OmsBaseException;

     /**
      * 校验工程师发送短信手机号
      * @param userPhoneNum
      * @param engineerId
      * @throws OmsBaseException
      */
     public void validateUserPhoneNum(String userPhoneNum, Integer engineerId) throws OmsBaseException;
}
